<div style="font-size:15px;font-weight:bold">{$catalog_count} консультант{plural_form $catalog_count "" "а" "ов"} ждут вас прямо сейчас:</div>
<br/>
{foreach $catalog item}
	<div class="consultant_item">
		<div class="consultant_item_top"></div>
		<div class="consultant_item_bg"><div class="consultant_item_shadow">

			<div class="consultant_item_inner">
				<table>
					<tr>
						<td valign="top">
							<div style="height:40px">
								<a href="{$item->getUrl()}" style="font-size:18px">{$item->name}</a>
								<img src="/images/logo_ps.gif" width="26" height="22" style="position:relative;margin-bottom:-6px">
								<span style="font-size:13px">Добавочный номер: {$item->sip}</span><br>
							</div>
							<div class="c_about">
								<div class="c_about_img">
									<div style="position: absolute;width:157px;height:154px"><img src="/images/pixel.gif" width="157" height="154" class="c_frame"></div>
									<img src="{proxy url=$item->photo width="150" height="150"}" width="150" height="150">
								</div>
								<div class="">
									<div class="f12"><span class="purple">Специализация:</span> {$item->specialization}</div>
									<br>
									<div class="dots f0">&nbsp;</div>
									<br>
									<div class="f12">{$item->description}&nbsp;<a href="{$item->getUrl()}">Подробнее</a></div>
								</div>
							</div>
						</td>
						<td width="232" valign="top">
							<div style="padding:8px 0px 8px 10px;overflow:hidden;">
								<div class="poll f12"><a href="#">Оценка</a>: <span class="orange"><b>{$item->rating}</b></span></div>
								{if $item->status==1}
									<div class="swich f12">{gender_form $item->gender "Свободен" "Свободна"}</div>
								{elseif $item->status==2}
									<div class="swich swich_busy f12">{gender_form $item->gender "Занят" "Занята"}</div>
								{else}
									<div class="swich swich_off f12">Оффлайн</div>
								{/if}
								<div class="clear"></div>
								<div class="c40" style="margin-top:10px" onclick="Consultant.dial({$item->id}, 1, {$item->sip})">
									<div class="c40_inner">
										Звонить по&nbsp;предоплате<br>
										<a href="#">Подробнее</a>
									</div>
								</div>
								<div class="c70" style="margin:10px 0px" onclick="Consultant.dial({$item->id}, 2, {$item->sip})">
									<div class="c70_inner">
										Звоните с мобильного:<br>
										<span class="phone"><b>07047</b> {$item->sip}#</span>
										<a href="#">Подробнее</a>
									</div>
								</div>
							</div>
						</td>
					</tr>
				</table>
			</div>

		</div></div>
		<div class="consultant_item_bottom"></div>
	</div>
{/foreach}
	
{include file="paginator.tpl" paginator=$paginator}